import {
  post,
  get,
  put,
  dalete,
  postJosn,
  putone,
  patch
} from '../utils/request';

// //查询门店商品列表
export function queryStockGoods(data) {
  return post('/api/goods-service/v1/goods/queryGoodsByPage', data);
}

//查询门店商品列表/api/goods-service/v1/        goodsPrice/queryStockGoods
// export function queryStockGoods(data) {
//   return post('/api/goods-service/v1/goods/queryStoreGoods', data);
// }

// //查询会员等级
// export function queryMemberRules(data) {
//   return post('/api//member-service/v1/memberRule/queryMemberRules', data);
// }
//查询积分方式
export function queryBonusPointRules(data) {
  return post('/api/member-service/v1/memberRule/queryBonusPointRules', data);
}

//保存积分规则
export function saveBonusPointRule(data) {
  return post('/api/member-service/v1/memberRule/saveBonusPointRule', data);
}


//查询积分规则
export function queryMember(data) {
  return post('/api/user-service/v1/StoreBonuspoint/queryStoreBonuspointOne', data);
}

//更新积分规则
export function updateMember(data) {
  return post('/api/user-service/v1/StoreBonuspoint/updateStoreBonuspoint', data);
}
